import request from '@/utils/request'
export function addlist(data) {
    return request({
      url: '/order/add',
      method: 'post',
      data
    })
  }
export function select(data) {
    return request({
      url: '/order/select/paging',
      method: 'post',
      data
    })
  }
  export function delet(data) {
    return request({
      url: '/order/delete/batch',
      method: 'post',
      data:data,
    })
  }
  export function selectId(data) {
    return request({
      url: '/order/select',
      method: 'get',
      params:data,
    })
  }
  export function exportOrder(data) {
    return request({
      url: '/order/export',
      method: 'get',
      params:data,
    })
  }
  export function update(id,data) {
    return request({
      url: '/order/update',
      method: 'post',
      params:id,
      data:data,
    })
  }